﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TA.Turbo
{
	/// <summary>
	/// Compare event arguments.
	/// </summary>
	public class CompareEventArgs : EventArgs
	{
		#region PUBLIC
		#region INIT
		/// <summary>
		/// Ctor.
		/// </summary>
		/// <param name="x"></param>
		/// <param name="y"></param>
		public CompareEventArgs(object x, object y)
		{
			this._x = x;
			this._y = y;
		}
		#endregion
		#region PROPS
		/// <summary>
		/// Gets the first operand of the comparison.
		/// </summary>
		public object X
		{
			get
			{
				return this._x;
			}
		}
		/// <summary>
		/// Gets the second operand of the comparison.
		/// </summary>
		public object Y
		{
			get
			{
				return this._y;
			}
		}
		/// <summary>
		/// Gets or sets the result of the comparison.
		/// </summary>
		public int Result { get; set; }
		#endregion
		#endregion
		#region INTERNAL
		#region VARS
		object _x, _y;
		#endregion
		#endregion
	}
}
